github.com/go-pg/pg/v10.Tx.withConn (method)
5 uses
github.com/go-pg/pg/v10 (current package)
tx.go#L104: func (tx *Tx) withConn(c context.Context, fn func(context.Context, *pool.Conn) error) error {
tx.go#L166: lastErr := tx.withConn(ctx, func(ctx context.Context, cn *pool.Conn) error {
tx.go#L233: lastErr := tx.withConn(ctx, func(ctx context.Context, cn *pool.Conn) error {
tx.go#L293: err = tx.withConn(tx.ctx, func(c context.Context, cn *pool.Conn) error {
tx.go#L302: err = tx.withConn(tx.ctx, func(c context.Context, cn *pool.Conn) error {